#include <iostream>
using namespace std;
class clock {
public:
	clock(int newh, int newm, int news);
	clock();
	void settime(int newh = 0, int newm = 0, int news = 0);
	void showtime();
private:
	int hour, minute, second;
};
clock::clock(int newh, int newm, int news):
	hour(newh), minute(newm), second(news){}

clock::clock():hour(0), minute(0), second(0) {}

void clock::settime(int newh , int newm , int news ) {
	hour = newh;
	minute = newm;
	second = news;
}
void clock::showtime() {
	cout << hour << ":" << minute << ":" << second << endl;

}
int main()
{
	/*class clock myclock;
	myclock.settime( );
	myclock.showtime();*/
	class clock c(1, 2, 0);
	c.showtime();
	class clock c1;
	c1.showtime();
	return 0;

}